'use strict'
const merge = require('webpack-merge')
const prodEnv = require('./prod.env')

module.exports = merge(prodEnv, {
  NODE_ENV: '"development"',
  BASE_API: '"http://localhost:8082"',
  // 是否开启代理, 重置后需重启vue-cli
  // OPEN_PROXY: false,
  lintOnSave: false,
  publicPath: './',
  devServer: {
  	open: process.platform === 'darwin',
  	// host: '127.0.0.1',
  	port: 9528,
  	https: false,
  	hotOnly: false,
  	// 查阅 https://github.com/vuejs/vue-doc-zh-cn/vue-cli/cli-service.md#配置代理
  	before: app => {
  		// `app` 是一个 express 实例
  	},
    }
})
